<template>
	<view>
		我是chp03
		<view>
			<text class="icon iconfont icon-ziyuan"></text>
		</view>
		<!-- <view class="lunbo">
			<swiper class="swbox" autoplay circular indicator-dots>
				<swiper-item>
					<image src="../../static/images/demo01/t2.jpg" mode=""></image>
				</swiper-item>
				<swiper-item>
					<image src="../../static/images/demo01/t3.jpg" mode=""></image>
				</swiper-item>
			</swiper>
		</view>
		
		<view class="">
			<view class="pic">
				<image style="width: 200px; height: 200px;" src="../../static/logo.png" mode="scaleToFill"></image>
			</view>
			<view class="text">
				<text>张三</text>
			</view>
			
			<view class="btn">
				<button type="default" size="mini">点击头像</button>
			</view>
			<view class="btn">
				<rich-text :nodes="mynode"></rich-text>
			</view>
			<view class="texts">
				<text>小程序提供了一个简单、高效的应用开发框架和丰富的组件及aip,帮助开发者在微信中开发具有原生APP体验的服务</text>
			</view>
		</view> -->
	</view>
	
	
	<!-- 小练习开始 -->
	<!-- <view class="a">
		<view class="lunbo">
			<swiper class="swbox" autoplay circular indicator-dots>
				<swiper-item>
					<image src="../../static/images/demo01/t2.jpg" mode=""></image>
				</swiper-item>
				<swiper-item>
					<image src="../../static/images/demo01/t3.jpg" mode=""></image>
				</swiper-item>
				<swiper-item>
					<image src="../../static/images/demo01/t1.gif" mode=""></image>
				</swiper-item>
			</swiper>
		</view>
		<view class="Grid">
			<view class="Grid-Item" v-for="(item,index) in List" :key="index">
				<view class="GSimg">
					<image class="Image" :src="item.img"></image>
				</view>
				<view class="GStitle">{{ item.title }}</view>
			</view>
		</view>
	</view> -->
	<!-- 小练习结束 -->
</template>

<script>
	export default {
		data() {
			return {
				// mynode:`
				// 	<div>
				// 		<h2>自我&gt;&lt;&copy;介绍</h2>
				// 	</div>
				// `
				List: [{
						img: '../../static/logo.png',
						title: '九宫格布局1'
					},
					{
						img: '../../static/logo.png',
						title: '九宫格布局2'
					},
					{
						img: '../../static/logo.png',
						title: '九宫格布局3'
					},
					{
						img: '../../static/logo.png',
						title: '九宫格布局4'
					},
					{
						img: '../../static/logo.png',
						title: '九宫格布局5'
					},
					{
						img: '../../static/logo.png',
						title: '九宫格布局6'
					},
					{
						img: '../../static/logo.png',
						title: '九宫格布局7'
					},
					{
						img: '../../static/logo.png',
						title: '九宫格布局8'
					}, 
					{
						img: '../../static/logo.png',
						title: '九宫格布局9'
					}
				]
			}
		},
		methods: {

		}
	}
</script>

<style scoped>
	/* 局部导入css文件 需要在该文件中style后面写一个scoped   scoped只对当前页面生效*/
	/* @import url("@/static/global.css"); *//* 
	// 选择器分为两大类 
	// 	权重 id>类>标签>通配符
	// 	基础选择器和复合选择器
	// 基础 id 类 标签 * 通配符
	// 符合选择器 并集 ，，， 结构，伪类 */

	.Grid {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-content: space-between;
		background: #f7f7f7;
		padding: 10rpx 0;
	}

	.Grid-Item {
		width: calc(100/3);
		/* width: 33.3333%; */
		height: 213rpx;
		text-align: center;
		border: 1rpx solid #ccc;
		box-sizing: border-box;
	}

	.GSimg {
		width: 100%;
		height: 96rpx;
		text-align: center;
		margin-top: 42rpx;
	}

	.Image {
		width: 96rpx;
		height: 96rpx;
	}

	.GStitle {
		width: 100%;
		height: 34rpx;
		line-height: 34rpx;
		color: #06121e;
		font-size: 24rpx;
		margin-top: 20rpx;
	}




	


	.swbox image {
		width: 100%;
	}

	.pic {
		margin-top: 30px;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.text {
		text-align: center;
	}

	.btn {
		display: flex;
		justify-content: center;
	}
</style>
